package com.pig.provide;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ImportResource;

/**
 * @author lizhiwei
 */
@Slf4j
@SpringBootApplication
@ImportResource("classpath:conf/context.xml")
public class ProvideApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(ProvideApplication.class, args);
        log.info("Provide start success!");
    }

}

